local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.BaseComponent());



function M.new(self,...)
	return M(self,...);
end;

function M.ctor(self, parent)
	M.super.ctor(self, parent);
    self.Att=_G.ClientOHOH:GetPath_Loop("Touch.dialogueUi",self.parent:GetRoot())
    -- self.Att.Parent=self.parent:GetRootPart_Loop()
    self.ui=_G.ClientOHOH:GetPath_Loop("BillboardGui", self.Att)
    self.lable=_G.ClientOHOH:GetPath_Loop("Ctrl.dialogue", self.ui).Value

    self:Hide()
end;

function M.dtor(self)
    self:Hide()
	M.super.dtor(self);
end

function M.Hide(self)
    self.ui.Enabled=false
end

function M.Show(self)
    self.ui.Enabled=true
end

function M.Update(self)

end
return M

